package com.bill99.rpc.demo.impl;

import java.text.SimpleDateFormat;
import java.util.Date;

import com.bill99.rpc.demo.FooService;

/**
 * @author sheng.zhang
 * 
 */
public class FooServiceImpl implements FooService {

	@Override
	public String foo(String name) {
		// System.out.println("["
		// + new SimpleDateFormat("HH:mm:ss").format(new Date())
		// + "] Foo " + name);
		return "[" + new SimpleDateFormat("HH:mm:ss").format(new Date())
				+ "] Foo " + name;
	}

}
